const path = require('path')

module.exports = {
    mode: 'development',
    entry: './src/index.js',
    output: {
        filename: 'bundle.js',
    },
    devServer: {
        contentBase: path.join(__dirname, 'www'),
        compress: false,
        port: 8085,
        // 虚拟打包路径
        publicPath: "/xuni/"
    }
}